/*
 * Copyright 2020-2021 redragon.dongbin
 *
 * This file is part of redragon-erp/赤龙ERP.

 * redragon-erp/赤龙ERP is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.

 * redragon-erp/赤龙ERP is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with redragon-erp/赤龙ERP.  If not, see <https://www.gnu.org/licenses/>.
 */
package com.erp.oa.notice.dao.data;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * @description
 * @date 2020年7月16日
 * @author dongbin
 * 
 */
public class DataBox {

    //获取通知类型
    public static Map<String, String> getNoticeType(){
        Map<String, String> map = new LinkedHashMap<String, String>();
        map.put("CUSTOM", "自定义");
        //map.put("IVN_WARNING", "库存预警（系统默认）");
        return map;
    }
    
    //获取业务类型
    public static Map<String, String> getBusinessType(){
        Map<String, String> map = new LinkedHashMap<String, String>();
        map.put("GLOBAL", "系统全局");
        map.put("PO", "采购");
        map.put("SO", "销售");
        map.put("INPUT", "入库");
        map.put("OUTPUT", "出库");
        map.put("AP", "应付");
        map.put("AR", "应收");
        map.put("EXPENSE", "报销");
        map.put("PAY", "付款");
        map.put("RECEIPT", "收款");
        map.put("GL", "总账");
        map.put("PROD", "生产制造");
        return map;
    }
    
    //获取通知类型
    public static Map<String, String> getNoticeLevel(){
        Map<String, String> map = new LinkedHashMap<String, String>();
        map.put("NORMAL", "正常");
        map.put("WARNING", "警告");
        map.put("DANGER", "严重");
        return map;
    }
}
